package com.xymtop.sqlcater.core.sql.sqlexecute.select.entity;


import com.xymtop.sqlcater.core.sql.sqlconnecter.entity.SqlField;
import lombok.Data;

//查询时列
@Data
public class SqlSelectField extends SqlField {


    //查询时的列需要去构建别名
    private String asName;



    public String getRealAsName(){
        if(this.asName==null){
            return getName();
        }else {
            return asName;
        }
    }
}
